﻿using Microsoft.AspNetCore.Http;
using System;
using zhangmenren.Models.Enums;

namespace zhangmenren.Models
{
    public class BannerEntity
    {
        public int Id { get; set; }

        /// <summary>
        /// 图片地址
        /// </summary>
        /// <value>The image URL.</value>
        public string ImgUrl { get; set; }

        /// <summary>
        /// banner图的状态，只有两种
        /// </summary>
        /// <value><c>true</c> if state; otherwise, <c>false</c>.</value>
        public bool State { get; set; }

        /// <summary>
        /// 链接地址
        /// </summary>
        /// <value>The href URL.</value>
        public string HrefUrl { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        /// <value>The title.</value>
        public string Title { get; set; }

        /// <summary>
        /// banner描述
        /// </summary>
        /// <value>The describe.</value>
        public string Describe { get; set; }


		/// <summary>
		/// banner分类   这里需要见枚举
		/// </summary>
		/// <value>The describe.</value>
		public BannerType Type { get; set; }

        public string TypeStr { get; set; }

    }
}
